using System;
using System.Collections.Generic;
using System.Text;

namespace HandyIRCChat
{
    public class UserJoinEventArgs : EventArgs
    {
        private string userName;

        private string channel;

        public UserJoinEventArgs(string name, string ch)
        {
            userName = name;
            channel = ch;
        }

        public string UserName
        {
            get
            {
                return userName;
            }

            set
            {
                userName = value;
            }
        }

        public string Channel
        {
            get
            {
                return channel;
            }

            set
            {
                channel = value;
            }
        }
    }

    public class UserLeaveEventArgs : EventArgs
    {
        private string userName;

        public UserLeaveEventArgs(string name)
        {
            userName = name;
        }

        public string UserName
        {
            get
            {
                return userName;
            }

            set
            {
                userName = value;
            }
        }
    }
    public class UserRenameEventArgs : EventArgs
    {
        private string userOldName;

        private string userNewName;

        public UserRenameEventArgs(string oldName, string newName)
        {
            userOldName = oldName;
            userNewName = newName;
        }

        public string UserOldName
        {
            get
            {
                return userOldName;
            }

            set
            {
                userOldName = value;
            }
        }

        public string UserNewName
        {
            get
            {
                return userNewName;
            }

            set
            {
                userNewName = value;
            }
        }
    }
}
